package com.leyou.domain.db1entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;


/**
 * @Author lixin
 * @Date 2018/10/24 0024 10:34
 * @Version 1.0
 * @Description 活动实体
 **/
public class Couponactivity implements Serializable {


    private static final long serialVersionUID = 1684571985289861415L;

    //活动主键
    @JSONField(name = "activity_key")
    private String activitykey;

    //主题
    private String theme;

    //剩余券数
    private Integer count;

    private Integer total;

    @JSONField(name = "background_url")
    private String backgroundurl;

    @JSONField(name = "share_url")
    private String shareurl;

    @JSONField(name = "sharebtn_url")
    private String sharebtnurl;

    @JSONField(name = "receivebtn_url")
    private String receivebtnurl;

    @JSONField(name = "background_color")
    private String backgroundcolor;

    @JSONField(name = "begin_time", format = "yyyy-MM-dd HH:mm:ss")
    private Date begintime;

    @JSONField(name = "end_time", format = "yyyy-MM-dd HH:mm:ss")
    private Date endtime;

    @JSONField(name = "manager_key")
    private String managerkey;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date deadline;

    private Integer duration;

    public String getActivitykey() {
        return activitykey;
    }

    public void setActivitykey(String activitykey) {
        this.activitykey = activitykey;
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public String getBackgroundurl() {
        return backgroundurl;
    }

    public void setBackgroundurl(String backgroundurl) {
        this.backgroundurl = backgroundurl;
    }

    public String getShareurl() {
        return shareurl;
    }

    public void setShareurl(String shareurl) {
        this.shareurl = shareurl;
    }

    public String getSharebtnurl() {
        return sharebtnurl;
    }

    public void setSharebtnurl(String sharebtnurl) {
        this.sharebtnurl = sharebtnurl;
    }

    public String getReceivebtnurl() {
        return receivebtnurl;
    }

    public void setReceivebtnurl(String receivebtnurl) {
        this.receivebtnurl = receivebtnurl;
    }

    public String getBackgroundcolor() {
        return backgroundcolor;
    }

    public void setBackgroundcolor(String backgroundcolor) {
        this.backgroundcolor = backgroundcolor;
    }

    public Date getBegintime() {
        return begintime;
    }

    public void setBegintime(Date begintime) {
        this.begintime = begintime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public String getManagerkey() {
        return managerkey;
    }

    public void setManagerkey(String managerkey) {
        this.managerkey = managerkey;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

}